package com.milkshopbackend.milkshop.enums;

public enum PaymentStatus {
    UNPAID(0, "未支付"),
    PAID(1, "支付成功"),
    FAILED(2, "支付失败");

    private final int code;
    private final String description;

    PaymentStatus(int code, String description) {
        this.code = code;
        this.description = description;
    }

    public int getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}
